package com.hly.musicbackground.model.music.params;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class SearchKeyParams {

    @NotBlank(message = "搜索的关键字不能为空")
    @ApiModelProperty(value = "搜索的关键字",required = true)
    private String key;//搜索的关键字
}
